import 'package:flutter/material.dart';
import 'package:fluro/fluro.dart';
import 'package:niuren_demo/routers/router_handles.dart';

class AppRouters {

  //根页面
  static String mainPage = "/pages/main/main_page";

  static void configureRoutes(FluroRouter router) {
    router.notFoundHandler = Handler(
        handlerFunc: (BuildContext context, Map<String, List<String>> params) {
          return Center();
        });

    router.define(mainPage, handler: rootHandle);



  }

}